#ifndef __HANDLE_H__
#define __HANDLE_H__
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <pwd.h>
#include <grp.h>
#include <time.h>

#define SIZE_NAME 64
#define SIZE_ARGC 10
#define SIZE_PARAM 128

typedef struct{
	int cmd_argc;
	char cmd_name[SIZE_NAME];
	char cmd_params[SIZE_ARGC][SIZE_PARAM];
}command_t;

int cmd_exec(char*);
void parse_command(char* command,command_t* cmd);
command_t* init_command();
int dispatch_command(command_t* command);
#endif
